<div class="todo-list">
  <ul>
    <li *ngIf="todoLists.length == 0">
      暂无数据
    </li>
    <ng-container *ngFor="let item of todoLists">
      <li *ngIf="item.isShow">
        <nz-card style="width:300px;" [nzTitle]="item.title" [nzExtra]="extraTemplate">
          <p>{{item.message}}</p>
        </nz-card>
        <ng-template #extraTemplate>
          <!-- <span>修改</span> -->
          <span (click)="onDdelTodo(item.time)">删除</span>
        </ng-template>
      </li>
    </ng-container>
  </ul>
</div>